PROJECT(signaroj)

SET(Boost_ADDITIONAL_VERSIONS "1.46" "1.46.1")
#SET(Boost_USE_MULTITHREADED ON)
SET(Boost_USE_STATIC_LIBS ON)
FIND_PACKAGE(Boost 1.46.1)

SET(Signaroj_SRC
  local8.h
  local8.cpp
  latin3.h
  latin3.cpp
  utf16.h
  utf16.cpp
  utf8.h
  utf8.cpp
  xsystem.h
  xsystem.cpp
  hsystem.h
  hsystem.cpp
  u_ux_table.h
  kodes.h
  kodes.cpp
  test.cpp)
SOURCE_GROUP(Signaroj FILES ${Signaroj_SRC})

INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIRS})

ADD_DEFINITIONS(
  -DUNICODE
  -D_UNICODE
  -D_WIN32_WINNT=0x0501)

ADD_LIBRARY(signaroj STATIC ${Signaroj_SRC})
TARGET_LINK_LIBRARIES(signaroj)
